<?php $this->_extends('_layouts/alarmtable_layout'); ?>

<?php $this->_block('title'); ?> - 行为日志报警<?php $this->_endblock(); ?>

<?php $this->_block('contents'); ?>

<div id="getting-started" alt="行为日志报警">
	<?php $this->_element('datesearch_simple',array('form'=>$form)); ?>
	<table>
		<tr><th width="5" align="center">　</th><th>主机名</th><th>时间</th><th>信息类型</th><th>内容</th></tr>
		<?php foreach ($group as $st): ?>
		<tr class="<?php if(($countno+1)/2==ceil(($countno+1)/2)){echo 'tw';} ?>"><td align="center"><?php echo $countno++;?></td><td><?php echo $st->hosts->hostname;?></td><td><?php echo $st->date.' '.$st->time;?></td><td><?php echo $st->infotype;?></td><td><?php echo iconv("gb2312//TRANSLIT","utf-8",$st->content);?></td></tr>
		<?php endforeach; ?>
		<tr class="tw">
				<td colspan="7"><input type="hidden" id="startd" value="<?php echo $startd;?>"/><input type="hidden" id="endd" value="<?php echo $endd;?>"/>
					<center>共有 <font color="Red"><?php echo $pager['record_count'];?></font> 条记录,分为 <font color="Red"><?php echo $pager['page_count'];?></font> 页显示,当前第 <font color="Red"><?php echo $pager['current'];?></font>页,每页 <font color="Red"><?php echo $pager['page_size'];?></font> 条<?php echo $pagestr; ?></center>
				</td>
			</tr>
	</table>
</div>

<?php $this->_endblock('contents'); ?>
